<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8"/>
  <meta http-equiv="content-Type" content="text/html;charset=utf-8">
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="description" content="同乡烩后台管理系统"/>
  <title>同乡烩后台管理系统</title>
  <link rel="stylesheet" th:href="@{/css/reset.css}"/>
  <link rel="stylesheet" th:href="@{/css/main.css}"/>
  <link rel="stylesheet" th:href="@{/css/list.css}"/>
  <script type="text/javascript" th:src="@{/js/jquery-3.4.1.js}"></script>
</head>
<!--菜品添加  -->
<body>
<div class="main">
  <div th:replace="admin/admin-left::left"/>
  <div class="main-left"></div>
  <!-- 展示 -->
  <div class="main-right">
    <div class="main-right-header"></div>
    <div class="main-right-navs">
      <a href="#">管理首页</a><a class="split">/</a><a>菜品管理</a><a>/</a><a>菜品搜索</a>
    </div>
    <div class="margin-right-container margin-right-container1">
      <div class="section  section2">
        <div class="margin-right-container-nav margin-right-container-nav2 " style="height: 20rem">
          <img id="imgPre" th:src="@{/images/}+${dishes.getImage()}"/>
        </div>
        <div class="margin-right-container-nav margin-right-container-nav2 margin-right-container-nav4">
            <input type="text" name="image" id="imageName" style="display:none" />
            <div class="input-group">
              <div class="input-group-left">菜品名称：</div>
              <div class="input-group-right" th:text="${dishes.getName()}"></div>
              <div class="clear"></div>
            </div>
            <div class="input-group">
              <div class="input-group-left">价格：</div>
              <div class="input-group-right" th:text="${dishes.getPrice()}"></div>
              <div class="clear"></div>
            </div>
            <div class="margin-right-container-nav5">
              <button class="sure" onclick="location.href='/viewDishes'">返回</button>
            </div>
        </div>
      </div>
      <div class="clear"></div>
    </div>
  </div>
  <div class="clear"></div>
</div>
</body>
</html>
